<i-form :model="this.data" class='app-form' ref='form'  id='purchase_order_ef_masterquick' style="" @on-validate="formItemValidate.apply(_self, arguments)">
    <input style="display:none;" />
    <row >
            <i-col class="form-layout-container" v-show="detailsModel.group1.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-group :model="detailsModel.group1" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.purchase_order.ef_masterquick_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >    
    <app-form-group-data-panel slot="dataInfoPanel" :model="detailsModel.group1" :data="data" :context="context" :viewparams="viewparams"/>
    <row>
        <i-col class="form-layout-container" v-show="detailsModel.name.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='name' :itemRules="this.rules().name" class='' :caption="$t('entities.purchase_order.ef_masterquick_form.details.name')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.name.error" :isEmptyCaption="false" labelPos="LEFT">
    
<app-span name='name' :value="data.name" dataType="TEXT"     :precision="0"
:data="data" :context="context" :viewparams="viewparams" :localContext ='{ }'  :localParam ='{ }'  style="">  
</app-span>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.requisition_id_text.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='requisition_id_text' :itemRules="this.rules().requisition_id_text" class='' :caption="$t('entities.purchase_order.ef_masterquick_form.details.requisition_id_text')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.requisition_id_text.error" :isEmptyCaption="false" labelPos="LEFT">
    
<app-picker  
  :formState="formState"
  :data="data"
  :context="context"
  :viewparams="viewparams"
  :localContext ='{ }' 
  :localParam ='{ }' 
  :disabled="detailsModel.requisition_id_text.disabled"
  name='requisition_id_text'
  deMajorField='name'
  deKeyField='purchase_requisition'
  :service="service"
  :acParams="{ serviceName: 'Purchase_requisitionService', interfaceName: 'FetchDefault'}"
  valueitem='requisition_id'
  :value="data.requisition_id_text"
  editortype="dropdown"
  style=""
  @formitemvaluechange="onFormItemValueChange($event)">
</app-picker>
</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.partner_id_text.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='partner_id_text' :itemRules="this.rules().partner_id_text" class='' :caption="$t('entities.purchase_order.ef_masterquick_form.details.partner_id_text')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.partner_id_text.error" :isEmptyCaption="false" labelPos="LEFT">
    
  <app-picker 
    :formState="formState"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.partner_id_text.disabled"
    name='partner_id_text'
    deMajorField='name'
    deKeyField='res_supplier'
    :service="service"
    :acParams="{ serviceName: 'Res_supplierService', interfaceName: 'FetchDefault'}"
    valueitem='partner_id' 
    :value="data.partner_id_text"
    :pickupView="{ viewname: 'res-supplier-pickup-view', title: $t('entities.res_supplier.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'res_suppliers', parameterName: 'res_supplier' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
    style=""  
    @formitemvaluechange="onFormItemValueChange($event)">
  </app-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.currency_id_text.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='currency_id_text' :itemRules="this.rules().currency_id_text" class='' :caption="$t('entities.purchase_order.ef_masterquick_form.details.currency_id_text')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.currency_id_text.error" :isEmptyCaption="false" labelPos="LEFT">
    
<app-picker  
  :formState="formState"
  :data="data"
  :context="context"
  :viewparams="viewparams"
  :localContext ='{ }' 
  :localParam ='{ }' 
  :disabled="detailsModel.currency_id_text.disabled"
  name='currency_id_text'
  deMajorField='name'
  deKeyField='res_currency'
  :service="service"
  :acParams="{ }"
  valueitem='currency_id'
  :value="data.currency_id_text"
  editortype="dropdown"
  style=""
  @formitemvaluechange="onFormItemValueChange($event)">
</app-picker>
</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.date_order.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='date_order' :itemRules="this.rules().date_order" class='' :caption="$t('entities.purchase_order.ef_masterquick_form.details.date_order')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.date_order.error" :isEmptyCaption="false" labelPos="LEFT">
    <date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.date_order" :disabled="detailsModel.date_order.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.date_order = val1 }"></date-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.company_id_text.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='company_id_text' :itemRules="this.rules().company_id_text" class='' :caption="$t('entities.purchase_order.ef_masterquick_form.details.company_id_text')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.company_id_text.error" :isEmptyCaption="false" labelPos="LEFT">
    
<app-picker  
  :formState="formState"
  :data="data"
  :context="context"
  :viewparams="viewparams"
  :localContext ='{ }' 
  :localParam ='{ }' 
  :disabled="detailsModel.company_id_text.disabled"
  name='company_id_text'
  deMajorField='name'
  deKeyField='res_company'
  :service="service"
  :acParams="{ serviceName: 'Res_companyService', interfaceName: 'FetchDefault'}"
  valueitem='company_id'
  :value="data.company_id_text"
  editortype="dropdown"
  style=""
  @formitemvaluechange="onFormItemValueChange($event)">
</app-picker>
</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.picking_type_id_text.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='picking_type_id_text' :itemRules="this.rules().picking_type_id_text" class='' :caption="$t('entities.purchase_order.ef_masterquick_form.details.picking_type_id_text')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.picking_type_id_text.error" :isEmptyCaption="false" labelPos="LEFT">
    
<app-picker  
  :formState="formState"
  :data="data"
  :context="context"
  :viewparams="viewparams"
  :localContext ='{ }' 
  :localParam ='{ }' 
  :disabled="detailsModel.picking_type_id_text.disabled"
  name='picking_type_id_text'
  deMajorField='name'
  deKeyField='stock_picking_type'
  :service="service"
  :acParams="{ serviceName: 'Stock_picking_typeService', interfaceName: 'FetchDefault'}"
  valueitem='picking_type_id'
  :value="data.picking_type_id_text"
  editortype="dropdown"
  style=""
  @formitemvaluechange="onFormItemValueChange($event)">
</app-picker>
</app-form-item>

</i-col>
    
    </row>
</app-form-group>

</i-col>


    </row>
</i-form>
